//index.js
//获取应用实例
const app = getApp()

Page({
	inputshow: false,
  data: {
    location:"厦门",
	banner:"/images/banner1.png",
	service:[
		{icon:"/images/index5-1.png",title:"倍耐力汽车服务",img:"/images/store1.png",discount:"6.8折",name:"汽车全套保养8步曲精品套餐",step:"机油更换/四轮定位/全车打蜡/全车打蜡",price:"￥699"},
		{ icon: "/images/index5-1.png", title: "倍耐力汽车服务", img: "/images/store1.png", discount: "6.8折", name: "汽车全套保养8步曲精品套餐", step: "机油更换/四轮定位/全车打蜡/全车打蜡", price: "￥699" },
		{ icon: "/images/index5-1.png", title: "倍耐力汽车服务", img: "/images/store1.png", discount: "6.8折", name: "汽车全套保养8步曲精品套餐", step: "机油更换/四轮定位/全车打蜡/全车打蜡", price: "￥699" },
		{ icon: "/images/index5-1.png", title: "倍耐力汽车服务", img: "/images/store1.png", discount: "6.8折", name: "汽车全套保养8步曲精品套餐", step: "机油更换/四轮定位/全车打蜡/全车打蜡", price: "￥699" }
	],
	carpro:[
		{name:"行车记录仪",price:"38元起",img:"/images/index6-1.png"},
		{ name: "机动车燃油宝", price: "38元起", img: "/images/index6-1.png" },
		{ name: "冬季热销车品", price: "38元起", img: "/images/index6-1.png" },
		{ name: "进口车垫", price: "38元起", img: "/images/index6-1.png" }
	],
	huodong:[
		{img:"/images/store1.png",name: "小米LD5889车载记录仪单镜头高画质精品",discount:"2件8折",price:"399"},
		{ img: "/images/store1.png", name: "小米LD5889车载记录仪单镜头高画质精品", discount: "2件8折", price: "399" },
		{ img: "/images/store1.png",name: "小米LD5889车载记录仪单镜头高画质精品", discount: "2件8折", price: "399" },
		{ img: "/images/store1.png",name: "小米LD5889车载记录仪单镜头高画质精品", discount: "2件8折", price: "399" },
		{ img: "/images/store1.png",name: "小米LD5889车载记录仪单镜头高画质精品", discount: "2件8折", price: "399" },
	],
	recommend:[
		{img: "/images/product2.png", name: "小米LD5889行车记录仪单镜头高画质精品", intro:"前后1080画质 高清夜视效果",price:"2999",sellnum:"15"},
		{ img: "/images/product2.png", name: "小米LD5889行车记录仪单镜头高画质精品", intro: "前后1080画质 高清夜视效果", price: "2999", sellnum: "15" },
		{ img: "/images/product2.png", name: "小米LD5889行车记录仪单镜头高画质精品", intro: "前后1080画质 高清夜视效果", price: "2999", sellnum: "15" },
		{ img: "/images/product2.png", name: "小米LD5889行车记录仪单镜头高画质精品", intro: "前后1080画质 高清夜视效果", price: "2999", sellnum: "15" },
	]
  },
	showinput: function () {
		this.setData({
			inputshow: true
		})
	}
  
})
